# $Id: PKGBUILD 73857 2012-07-16 05:44:00Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-lingua-en-numbers
pkgver=1.04
pkgrel=1
pkgdesc="Turn 407 into four hundred and seven, etc."
arch=('any')
url="http://search.cpan.org/dist/Lingua-EN-Numbers"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Lingua-EN-Numbers-$pkgver.tar.gz)
md5sums=('6b3d8ea645b37ee29b37388caa01b0f3')

build() {
  cd  $srcdir/Lingua-EN-Numbers-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
